home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / dosutils / speed.zip / SETUP.BAT < prev    next >
DOS Batch File  |  1996-11-15  |  4KB  |  102 lines

  1. @echo off
  2. C:
  3. if not exist speed.exe goto filesmissing
  4. if not exist speed_s.exe goto filesmissing
  5. if not exist speed_w.com goto filesmissing
  6. if not exist speed.doc goto filesmissing
  7. if not exist speed.exe goto filesmissing
  8. if not exist _default.pif goto filesmissing
  9. if not exist remove.bat goto filesmissing
  10. if not exist command.sp1 goto filesmissing
  11.  
  12. mode con:lines=43
  13. cls
  14. echo                      ---  INITIAL SETUP FOR SPEED  ---
  15. echo.
  16. IF EXIST \DOS\SPEED goto transfer
  17. IF NOT EXIST \DOS md \DOS
  18. echo  Creating \DOS\SPEED directory to store support files
  19. md \DOS\SPEED
  20. :transfer
  21. echo  --copying preference file and sample macro files to \dos\speed
  22. copy speed.prf \dos\speed /y
  23. copy *.sp1 \dos\speed /y
  24. :windows
  25. if not exist \WINDOWS goto nowindir
  26. if exist _default.bak goto win1
  27. if not exist \windows\_default.pif goto win1
  28. copy \windows\_default.pif _default.bak
  29. echo --changing current _default.pif in \WINDOWS directory to _default.bak and
  30. echo        moving it to current directory for backup
  31. :win1
  32. echo --installing new _default.pif in \WINDOWS directory to overcome Windows bug, 
  33. echo        at least for the default DOS prompt inside Windows
  34. copy _default.pif \windows /y
  35. goto introducespeed
  36.  
  37. :nowindir
  38. if exist _default.bk goto win2
  39. if not exist \_default.pif goto win2
  40. echo --changing current _default.pif in root directory to _default.bak and
  41. echo        moving it to current directory for backup
  42. copy \_default.pif _default.bk
  43. :win2
  44. echo --installing new _default.pif in root directory to overcome Windows bug, 
  45. echo        at least for the default DOS prompt inside Windows
  46. copy _default.pif \ /y
  47.  
  48. echo.
  49. :introducespeed
  50. echo.
  51. pause
  52. mode con:lines=43
  53. cls
  54. echo  Introducing the three SPEEDs...
  55. speed_w
  56. echo.
  57. echo -----This is Speed_w, which is designed to be loaded in Speed.exe's
  58. echo place just prior to the launch of Windows, then to be overridden
  59. echo by Speed or Speed_s in selected DOS windows as desired.  When resident
  60. echo Speed_w takes up minimal memory, so minimal memory is tied up once
  61. echo in Windows or Windows95, but you still get capslock release and a few
  62. echo other basics in every single DOS window.
  63. echo.
  64. pause
  65. speed_w/u
  66. cls
  67. speed_s
  68. echo.
  69. echo -----Here's Speed_s, which is nearly identical to "full" Speed except
  70. echo for no macros.  Use it if memory's a little tight or a particular
  71. echo application and "full" Speed don't get along.
  72. echo.
  73. pause
  74. speed_s/u
  75. cls
  76. speed
  77. echo.
  78. echo -----And here's Speed.exe, or "full" Speed.  It can be loaded by
  79. echo autoexec.bat if you use the DOS prompt outside of Windows, and can be
  80. echo loaded in any DOS window as desired once inside Windows.
  81. echo.
  82. echo If you press ctrl-NUMLOCK now you'll see that some sample macros 
  83. echo have been pre-recorded.  Quickly press NUMLOCK again before the
  84. echo display turns off and you see the name of the file that macros for
  85. echo the DOS prompt are recorded to, and the available memory left for
  86. echo that file.  Press BACKSPACE to again look at the listing of active 
  87. echo macros, then press SPACE.
  88. echo.
  89. echo As soon as you finish reading this then try the various macros. 
  90. echo ctrl-1 changes the display to 50 lines (if you have VGA or SVGA),
  91. echo ctrl-2 to 43 lines, and ctrl-3 to 25 lines.
  92. echo.
  93. echo To do a quick macro recording, press alt+ctrl+M, then press a ctrl
  94. echo letter or number.  Have fun!
  95. goto end
  96.  
  97. :filesmissing
  98. echo Some files are missing...  unzip from the .zip file again.
  99. echo If unsuccessful again the .zip file is damaged or unauthorized.
  100. :end
  101. echo.
  102.